package com.zsk.shop.common.socket.model.socket;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("user发送到服务器消息内容")
public class WebSocketMessageInfoParams {

    @ApiModelProperty(name = "type", value = "消息类型 1:x,2:x", dataType = "Integer")
    private Integer type;

    @ApiModelProperty(name = "data", value = "消息内容", dataType = "String")
    private String data;

    @ApiModelProperty(name = "ext", value = "ext", dataType = "Object")
    private Object ext;
}
